package com.example.tiptravel.entity.home;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by 45820 on 2016/11/9.
 */

public class Banner {

    /**
     * status : 1
     * msg :
     * data : [{"adv_id":"556","title":"一路\u201c醉\u201d行五花山","type":"5","ename":"YILU\u201cZUI\u201dXINGWUHUASHAN","pic":"http://7u2psp.com2.z0.glb.qiniucdn.com/57dfa80cd4e84622153.jpg","url":"http://v2.jingqubao.com/w3g/Weixin/ruanwen?id=32","need_login":"0"},{"adv_id":"535","title":"大理游记","type":"5","ename":"DALIYOUJI","pic":"http://7u2psp.com2.z0.glb.qiniucdn.com/57d9415b464cf378398.jpg","url":"http://v2.jingqubao.com/w3g/Weixin/ruanwen?id=23","need_login":"0"}]
     */

    @SerializedName("status")
    private String status;
    @SerializedName("msg")
    private String msg;
    @SerializedName("data")
    private List<DataBean> data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * adv_id : 556
         * title : 一路“醉”行五花山
         * type : 5
         * ename : YILU“ZUI”XINGWUHUASHAN
         * pic : http://7u2psp.com2.z0.glb.qiniucdn.com/57dfa80cd4e84622153.jpg
         * url : http://v2.jingqubao.com/w3g/Weixin/ruanwen?id=32
         * need_login : 0
         */

        @SerializedName("adv_id")
        private String advId;
        @SerializedName("title")
        private String title;
        @SerializedName("type")
        private String type;
        @SerializedName("ename")
        private String ename;
        @SerializedName("pic")
        private String pic;
        @SerializedName("url")
        private String url;
        @SerializedName("need_login")
        private String needLogin;

        public String getAdvId() {
            return advId;
        }

        public void setAdvId(String advId) {
            this.advId = advId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getEname() {
            return ename;
        }

        public void setEname(String ename) {
            this.ename = ename;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getNeedLogin() {
            return needLogin;
        }

        public void setNeedLogin(String needLogin) {
            this.needLogin = needLogin;
        }
    }
}
